package com.zhifei.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhifei.system.domain.EmployeeEntity;
import com.zhifei.system.domain.XrxsEmployeeEntity;
import com.zhifei.system.domain.vo.EmployeeGanttChartPageVo;
import com.zhifei.system.util.PageUtils;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface EmployeeService extends IService<EmployeeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    EmployeeGanttChartPageVo pageGanttChart(Map<String, Object> params);

    void cacl(String id);

    void caclPrice(EmployeeEntity employeeEntity);

    void caclPriceBatch(List<EmployeeEntity> employeeEntityList);

    List<EmployeeEntity> listDistinctEmployee();

    void dismissEmployee(String jobNum,String dismissDate);

    void updateEmployee(String jobNum, String userPost, String userRank, BigDecimal monthPay, String recruitHr);

    void updatePost(String jobNum, String updatePostDate);

    EmployeeEntity getPreProjectEmployee(String jobNum);

    void caclPriceByTravelExpenses(String jobNum,BigDecimal travelExpenses);

}
